// Code generated by mockery v2.20.2. DO NOT EDIT.

package mocks

import (
	mock "github.com/stretchr/testify/mock"
	clientset "gitverse.ru/synapse/kubelatte/pkg/operator/controllers/clientset"
)

// V1Alpha1Interface is an autogenerated mock type for the V1Alpha1Interface type
type V1Alpha1Interface struct {
	mock.Mock
}

// Scope provides a mock function with given fields: namespace
func (_m *V1Alpha1Interface) Scope(namespace string) clientset.ScopeInterface {
	ret := _m.Called(namespace)

	var r0 clientset.ScopeInterface
	if rf, ok := ret.Get(0).(func(string) clientset.ScopeInterface); ok {
		r0 = rf(namespace)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(clientset.ScopeInterface)
		}
	}

	return r0
}

// Template provides a mock function with given fields: namespace
func (_m *V1Alpha1Interface) Template(namespace string) clientset.TemplateInterface {
	ret := _m.Called(namespace)

	var r0 clientset.TemplateInterface
	if rf, ok := ret.Get(0).(func(string) clientset.TemplateInterface); ok {
		r0 = rf(namespace)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(clientset.TemplateInterface)
		}
	}

	return r0
}

// Trigger provides a mock function with given fields: namespace
func (_m *V1Alpha1Interface) Trigger(namespace string) clientset.TriggerInterface {
	ret := _m.Called(namespace)

	var r0 clientset.TriggerInterface
	if rf, ok := ret.Get(0).(func(string) clientset.TriggerInterface); ok {
		r0 = rf(namespace)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(clientset.TriggerInterface)
		}
	}

	return r0
}

// TriggerInstance provides a mock function with given fields:
func (_m *V1Alpha1Interface) TriggerInstance() clientset.TriggerInstanceInterface {
	ret := _m.Called()

	var r0 clientset.TriggerInstanceInterface
	if rf, ok := ret.Get(0).(func() clientset.TriggerInstanceInterface); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(clientset.TriggerInstanceInterface)
		}
	}

	return r0
}

type mockConstructorTestingTNewV1Alpha1Interface interface {
	mock.TestingT
	Cleanup(func())
}

// NewV1Alpha1Interface creates a new instance of V1Alpha1Interface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewV1Alpha1Interface(t mockConstructorTestingTNewV1Alpha1Interface) *V1Alpha1Interface {
	mock := &V1Alpha1Interface{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
